package com.haust.su.ghyy.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haust.su.ghyy.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author haustsusu
 * @create 2023-02-13-13:51
 */

public interface DictService extends IService<Dict> {
    //   根据数据字典的id查询子数据列表
    List<Dict> findChildrenDate(Long id);

    //   导出数据字典接口操作
    void exportDictData(HttpServletResponse httpServletResponse);

    void importDictData(MultipartFile file);

    String getDictName(String dictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
